﻿@model IEnumerable<TuanAnhPersonalWeb.Models.TUANANH__PROJECTTYPE>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>Index</h2>


<table>
    <tr>
        <th>
            PDESCRIPTION
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.PDESCRIPTION)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.PTYPE }) |
            @Html.ActionLink("Details", "Details", new { id=item.PTYPE }) |
        </td>
    </tr>
}

</table>
